package User;

import Entities.Phase;
import StateInformation.GameState;
import java.io.Serializable;

public class User implements Serializable {

    private String username;
    private String name;
    private String surname;
    private String password;
    private String email;
    private GameState gameState;

    public User(String username, String surname, String name, String password, String email) {
        this.username = username;
        this.name = name;
        this.surname = surname;
        this.password = password;
        this.email = email;
        gameState = null;
    }

    public void setGameState(GameState gameState) {
        this.gameState = gameState;
    }

    public String getUsername() {
        return username;
    }

    public String getName() {
        return name;
    }

    public String getSurname() {
        return surname;
    }

    public String getPassword() {
        return password;
    }

    public String getEmail() {
        return email;
    }

    public GameState getGameState() {
        return gameState;
    }
}
